<%-------------------------------------------------------------------
 * 页面名称：peerInnerAccountList.jsp
 * 功能描述：联系人->支付账户查询列表
 * Action  : /page/myspace/getPeerInnerAccountList.do
 *
 *-------------------------------------------------------------------
--%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ page import="cn.agiledata.bank.common.util.Constant"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="ipb" uri="/WEB-INF/conf/tld/ipb.tld"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%
String path = request.getContextPath();
%>
<style type="text/css">
<!--
.box {width:100%;margin:auto;}
.off {margin-left:3px;line-height:34px;float:left;width:93px;height:34px;color:#0099CC;font-size:14px;font-weight:bold;text-align:center;background-color:#DCDEDD;cursor: hand;}
.on {margin-left:3px;line-height:34px;float:left;width:93px;height:34px;color:#0099CC;font-size:14px;font-weight:bold;text-align:center;border-top: 1px #CCCCCC solid;border-left:1px #CCCCCC solid;border-right: 1px #CCCCCC solid;cursor: hand;}
.tab {width:100%;margin:auto;float:left;}
-->
</style>
<script language="javascript">
	function theDelete(sid) {
		if(confirm('您确定需要删除吗?')) {
			location.href="<%=path%>/page/myspace/peerInnerAccountDelete.do?id="+sid;
		}
	}
</script>
<div id="main">
	<div class="content_right">
		<div style="width:745px;margin-left:10px;">
			<div class="titleinfo">
				联系人
			</div>
			<div class="edit_pass">
				<div class="tab">
					<div class="on" id="Tab_1">
						支付账户
					</div>
					<div class="off" id="Tab_2"
						onclick="location.href='<%=path%>/page/myspace/getPeerBankAccountList.do';">
						银行账户
					</div>
				</div>
				<div class="drop_bg"></div>
				<div style="clear:both;"></div>
				<div class="box" id="cont_1">
					<form action="<%=path%>/page/myspace/getPeerInnerAccountList.do">
						<table width="100%" height="35" border="0" cellpadding="0"
							cellspacing="0">
							<tr>
								<td align="right">
									我要新增
									<span class="orangefont14b">联系人</span>：
									<span class="button_Frame"> <input name="button"
											type="button" class="graybutton_style"
											onclick="location.href='<%=path%>/page/myspace/toPeerInnerAccountAdd.do';"
											value="添 加" /> </span>
								</td>
							</tr>
						</table>
						<table width="100%" class="tablestyle">
							<tr>
								<th>
									<span class="blue14">用户名</span>
								</th>
								<th>
									<span class="blue14">Email</span>
								</th>
								<th>
									<span class="blue14">手机</span>
								</th>
								<th>
									<span class="blue14">修改</span>
								</th>
								<th>
									<span class="blue14">详情</span>
								</th>
								<th>
									<span class="blue14">删除</span>
								</th>
							</tr>
							<logic:iterate id="peerInnerAccount" name="list" property="data"
								indexId="i">
								<tr class="<%=i.intValue() % 2 == 0 ? "tableWhiteBg"
							: "tableBlueBg"%>">
									<td height="28" align="center">
										<bean:write name="peerInnerAccount"
											property="peerAccount.name" />
									</td>
									<td align="center">
										<logic:equal name="peerInnerAccount"
											property="peerAccount.emStatus"
											value="<%=Constant.ACCOUNT_STATE_NORMAL%>">
											<bean:write name="peerInnerAccount"
												property="peerAccount.email" />
										</logic:equal>
									</td>
									<td align="center">
										<logic:equal name="peerInnerAccount"
											property="peerAccount.mobStatus"
											value="<%=Constant.ACCOUNT_STATE_NORMAL%>">
											<bean:write name="peerInnerAccount"
												property="peerAccount.mobile" />
										</logic:equal>
									</td>
									<td align="center"">
										<a
											href="<%=path%>/page/myspace/toPeerInnerAccountModify.do?id=<bean:write name='peerInnerAccount' property='id'/>">
											<img alt="修改" src="<%=path%>/images/edit_icon.gif" width="16"
												height="16" border="0" /> </a>
									</td>
									<td align="center">
										<a
											href="<%=path%>/page/myspace/toPeerInnerAccountDetail.do?id=<bean:write name='peerInnerAccount' property='id'/>">
											<img alt="详情" src="<%=path%>/images/view_icon.gif" width="16"
												height="16" border="0" /> </a>
									</td>
									<td align="center">
										<img alt="删除" src="<%=path%>/images/del_icon.gif" width="16"
											height="16" border="0" style="cursor:hand;"
											onclick="theDelete(<bean:write name='peerInnerAccount' property='id'/>);" />
									</td>
								</tr>
							</logic:iterate>
						</table>
						<table width="100%" height="30" border="0" cellpadding="0"
							cellspacing="0">
							<tr>
								<td>
									<ad:PageBean name="list"></ad:PageBean>
								</td>
							</tr>
						</table>
					</form>
				</div>
				<div class="button_Frame">
					<input type="button" class="button_style" value="返 回"
						onclick="location='<%=path%>/route.do?modual=space$account';" />
				</div>
			</div>
		</div>
	</div>
</div>

